package ffmvc.model;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;

public class PlayerRowMapper implements RowMapper<Player> {
	@Override
	public Player mapRow(ResultSet rs, int line) throws SQLException {
		PlayerExtractor extractor = new PlayerExtractor();
		return extractor.extractData(rs);
	}
}
